
from toolsSrc.status.status import Status
from pitchSrc.pitchOnl.initialData import initialData
from pitchSrc.pitchOnl.cleanProcess import cleanProcess
from pitchSrc.pitchOnl.groupProcess import groupProcess
from pitchSrc.pitchOnl.smoothProcess import smoothProcess
from pitchSrc.pitchOnl.fusionProcess import fusionProcess
from pitchSrc.pitchOnl.surfaceProcess import surfaceProcess
from pitchSrc.pitchOnl.surfacePlotProcess import surfacePlotProcess
from pitchSrc.pitchOnl.lineRegress import lineRegress
from pitchSrc.pitchOnl.lineCompareProcess import lineCompareProcess

@Status.changeDBStatus('pitch',2,1)
@Status.changeStatus(2,1)
def pitchOnl():
    initialData()
    cleanProcess()
    groupProcess()
    smoothProcess()
    fusionProcess()
    surfaceProcess()
    surfacePlotProcess()
    # regressProcess()
    lineRegress()
    lineCompareProcess()


if __name__ == '__main__':
    pitchOnl()
